<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Knockout.js</title>

    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div id="root">
      <form action="" method="get">
        <span>
          请输入手机号：
        </span>
        <input id="text" pattern="^1[3-9]\d{9}$" required />
        <input type="submit" value="提交" />
      </form>
    </div>

    <script src="../scripts/lib/require.js" data-main="index.js"></script>
  </body>
</html>
